home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 4
/
Aminet 4 - November 1994.iso
/
aminet
/
comm
/
bbs
/
cd_rom.lha
/
Doors
/
CDRomDoor
/
CDROMDoor.doc
< prev
next >
Wrap
Text File
|
1993-11-30
|
4KB
|
95 lines
CD ROM Door v1.00
~~~~~~~~~~~~~~~~~
Copyright c 1993 Murray Chaffer
Freely Redistributable
Source avail. on request
A Door for MAXSBBS 1.52+
Hi Ross..
At the moment this door is obviously a one off project, but I
hope to see it expanding into a popular door for MAXS in the future..
unfortunately it's not a great example of the programmers craft, and
has loads of GOTOS and other really nasty stuff that shouldn't be in well
written programs, but at least it seems to work nicely in practice.
What does it do ?
~~~~~~~~~~~~~~~
It allows sysops to put CD ROM disks online without having to go to
the trouble of adding all files on every disk to the MAXS file.data..
in a sense it's almost an alternative files area manager on a slightly
less sophisticated scale.. each disk has its own config file from which
data on the disk and 'sections' is stored.. I will explain briefly the
config file format here..
Must be in doors path in a directory CDROMDoor and named as Disk.cfg
ie BBS:Doors/CDROMDoor/Disk.cfg
You may want to setup several Disk.cfg files ie NightOwl9.cfg , then use
a script to copy it over and rename or something like that I guess
would be a convenient way of tackling things.
******************************************************************************
Line 1 : Device Name of CD ROM Drive (ie CD0:)
This is the default path for which files/dirs will be searched.
Line 2 : Name of Current Disk
Displayed only for the interest of the user..
Line 3 : Name of 'Next' Disk (optional) or *BLANK LINE*
Line 4 : Date of 'Next' Disk (optional) or *BLANK LINE*
These two (If filled in) will be displayed at the bottom of the
CD ROM Door screen, to allow you to let the user know which disk
will be coming up next, and when.. Allows you to have disks on a
rotating basis and makes it a little less painless.
Remember to include 2 blank lines if not utilising this feature.
Line 5 : Number of sections on Current Disk
Most CD ROMS are conveniently divided into 'sections' - this
value represents the number of 'sections' (usually in dirs)
on this disk.
Line 6 : <Section Name> <Path to listing file> <Path to section>
Repeat for number of times needed (ie value in line 5)
Now you must make up an entry for each 'section', 1 line each,
with section name, a path & name to a text/ANSI listing of
files in that section (usually included on disk somewhere),
and a path to the 'section' (remember Device name is
assumed as default for both dir and for listing file.)
each of these MUST be in quotes.. no commas are needed to
separate the strings, just like this :
"Name" "Listing File" "Path"
No quotes needed for first 5 lines.
How do I use it ?
~~~~~~~~~~~~~~~
Anyway you like! Play around with it and if you don't like something,
drop me a line... There's bound to be a few bugs, due to the fact that I
don't have a CD ROM drive to test this sucker on !
* Hope this one is handy.. - Any probs/bugs/ideas, contact me here:
____
__ /_/ \
/ /\\_\/\ \ Murray Chaffer Continental Drift BBS NSW Australia
/_/ /_ /_/ /
\ \ \/\\_\/ BBS +61 2 918 8375 FIDO 3:714/911.0
\ \ / Voice +61 2 918 8153 MAXS 3:30000/76.0
\_\/
Cheers...
Muzz